package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import org.example.entity.Emp;
import org.example.pojo.Result;

public interface IEmpService extends IService<Emp> {
    Emp login(String username, String password);

    PageInfo<Emp> listByPage(Integer page,Integer limit,String empName);

    int add(Emp emp);

    int update(Emp emp);
}
